$OpenBSD: patch-examples_mk,v 1.4 2015/04/26 07:58:22 ajacoutot Exp $
--- examples.mk.orig	Tue Mar 31 11:00:47 2015
+++ examples.mk	Tue Mar 31 11:08:39 2015
@@ -276,7 +276,7 @@ BINS-$(NOT_MSVS)           += $(addprefix $(BUILD_PFX)
 # Instantiate linker template for all examples.
 CODEC_LIB=$(if $(CONFIG_DEBUG_LIBS),vpx_g,vpx)
 SHARED_LIB_SUF=$(if $(filter darwin%,$(TGT_OS)),.dylib,.so)
-CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF),.a)
+CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF).$(LIBVPX_VERSION),.a)
 $(foreach bin,$(BINS-yes),\
     $(if $(BUILD_OBJS),$(eval $(bin):\
         $(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF)))\
